applaunchcontext: Ignore screen name
authorBenjamin Otte <otte@redhat.com>
Wed, 28 Sep 2016 00:51:36 +0000 (02:51 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 16 Oct 2016 16:17:21 +0000 (18:17 +0200)
It's guaranteed to be identical to the display name.

gdk/gdkapplaunchcontext.c

index f84367da5565c6b16407a5058b316d1fa56c38ad..bc2fa6d744253c349e4e1d3a6423a766fff348e3 100644 (file)
@@ -162,9 +162,6 @@ gdk_app_launch_context_get_display (GAppLaunchContext *context,
   GdkAppLaunchContext *ctx = GDK_APP_LAUNCH_CONTEXT (context);
   GdkDisplay *display;
 
-  if (ctx->screen)
-    return gdk_screen_make_display_name (ctx->screen);
-
   if (ctx->display)
     display = ctx->display;
   else